package com.study.securitydemo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author weiyongpeng
 * @ClassName: User
 * @Description: 用户对象实体类
 * @date 2024/10/26
 */
@Data
@TableName("user")
public class User {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("username")
    private String username;

    @TableField(value = "password")
    private String password;

    @TableField(value = "enabled")
    private Boolean enabled;
}